<!-- 页脚 -->
<footer>
  <div class="footer-message-bar">
    <div class="footer-message-inner">
      <div class="footer-message-content">
        <div class="footer-message-title">在线留言</div>
        <div class="footer-message-desc">如果您有什么建议或者咨询，欢迎给我们留言</div>
      </div>
      <a href="contact.html" class="footer-message-btn">点击留言</a>
    </div>
  </div>
  <!-- 留言弹框 -->
  <div class="message-dialog" id="messageDialog">
    <div class="message-dialog-content">
      <div class="message-dialog-header">
        <h3>在线留言</h3>
        <button class="message-dialog-close">&times;</button>
      </div>
      <form id="messageForm" class="message-form">
        <div class="form-group">
          <input type="text" id="name" name="name" placeholder="您的姓名" required>
        </div>
        <div class="form-group">
          <input type="tel" id="phone" name="phone" placeholder="联系电话" required>
        </div>
        <div class="form-group">
          <input type="email" id="email" name="email" placeholder="电子邮箱">
        </div>
        <div class="form-group">
          <textarea id="message" name="message" placeholder="请输入您的留言内容" required></textarea>
        </div>
        <button type="submit" class="submit-btn">提交留言</button>
      </form>
    </div>
  </div>
  <div class="footer-content">
    <div class="footer-left">
      <img src="./images/logo.png" alt="甄成集团" class="footer-logo"
        onerror="this.onerror=null;this.src='images/placeholder.png';">
      <div class="footer-slogan">创新、务实、合作、共赢</div>

      <div class="footer-hotline">
        <img src="./images/icons/ico_tel.png" alt="电话" class="footer-hotline-icon"
          onerror="this.onerror=null;this.src='images/placeholder.png';">
        <div class="footer-hotline-wrap">
          <div class="footer-hotline-title">咨询热线</div>
          <span class="footer-hotline-number">138-8888-8888</span>

        </div>

        <img src="./images/icons/ico_hot.png" alt="热门" class="footer-hotline-hot"
          onerror="this.onerror=null;this.src='images/placeholder.png';">
      </div>
    </div>
    <div class="footer-nav-bottom-wrap">
      <div class="footer-nav-horizontal">
        <a href="/">首页</a>
        <span class="footer-sep">|</span>
        <a href="about.html">关于甄成</a>
        <span class="footer-sep">|</span>
        <a href="core-business.html">核心业务</a>
        <span class="footer-sep">|</span>
        <a href="news.html">新闻资讯</a>
        <span class="footer-sep">|</span>
        <a href="development.html">发展历程</a>
        <span class="footer-sep">|</span>
        <a href="contact.html">联系我们</a>
      </div>
      <div class="footer-bottom footer-info">
        <div class="footer-bottom-address">
          <div>中国 · 北京</div>
          <div>北京市亦庄经济技术开发区首合国际广场B座</div>
        </div>
        <div class="footer-bottom-info">
          <div>Copyright © 2014-2025 北京甄成商业集团有限公司 </div>
          <div>京ICP备88888888号</div>
        </div>

      </div>
    </div>
    <div class="footer-right">
      <img src="./images/icons/qrcode.png" alt="二维码" class="qr-code"
        onerror="this.onerror=null;this.src='images/placeholder.png';">
    </div>
  </div>
</footer>
<style>
  /* 页脚基础样式 */
  footer {
    background: #232733;
    color: #fff;
    padding: 0;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 1rem;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
    contain: layout style paint;
    /* 优化渲染性能 */
  }


  /* 页脚内容区域 */
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 100rem;
    margin: 0 auto;
    padding: 6.5rem 10rem 6.5rem;
    gap: 2rem;
    box-sizing: border-box;
    position: relative;
    contain: layout style;
    /* 优化渲染性能 */
    will-change: transform;
    /* 提示浏览器优化变换 */
  }

  /* 页脚左侧区域 */
  .footer-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-width: 16.25rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* 使用贝塞尔曲线优化动画 */
    will-change: transform;
    /* 提示浏览器优化变换 */
    transform: translateZ(0);
    /* 启用GPU加速 */
  }

  .footer-logo {
    width: 11rem;
    margin-bottom: 0.875rem;
    filter: none !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
  }

  .footer-slogan {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 2.0625rem;
    font-weight: 500;
    letter-spacing: 0.0625rem;
    height: 1.25rem;
    line-height: 1.25rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* 热线电话 */
  .footer-hotline {
    display: flex;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
  }

  .footer-hotline:hover {
    transform: translateX(0.5rem) translateZ(0);
  }

  .footer-hotline-icon {
    width: 2.1875rem;
    height: 2.1875rem;
    margin-right: 0.75rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
  }

  .footer-hotline:hover .footer-hotline-icon {
    transform: scale(1.1) translateZ(0);
  }

  .footer-hotline-title {
    font-family: "Microsoft YaHei Light";
    font-weight: 300;
    font-size: 0.75rem;
    color: #ccc;
    margin-bottom: 0.25rem;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .footer-hotline-number {
    font-family: "Microsoft YaHei Bold";
    font-weight: 700;
    font-size: 1rem;
    text-align: left;
    color: #ccc;
    height: 1.3125rem;
    line-height: 1.3125rem;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .footer-hotline:hover .footer-hotline-title,
  .footer-hotline:hover .footer-hotline-number {
    color: #fff;
  }

  .footer-hotline-hot {
    width: 1.91625rem;
    height: 2.099375rem;
    margin-left: 1.15rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
  }

  .footer-hotline:hover .footer-hotline-hot {
    transform: scale(1.1) translateZ(0);
  }

  /* 页脚导航 */
  .footer-nav-bottom-wrap {
    width: 100%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    contain: layout style;
  }

  .footer-nav-horizontal {
    margin-bottom: 2.8125rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
  }

  .footer-nav-horizontal a {
    color: #cccccc;
    font-size: 1.125rem;
    font-weight: 400;
    text-decoration: none;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, color;
    transform: translateZ(0);
  }

  .footer-nav-horizontal a.active,
  .footer-nav-horizontal a:hover {
    color: #fff;
    font-weight: 700;
    transform: translateY(-0.125rem) translateZ(0);
  }

  /* .footer-nav-horizontal a.active::after,
.footer-nav-horizontal a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.375rem;
    width: 100%;
    height: 0.1875rem;
    background: #0e78ff;
    border-radius: 0.125rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
} */

  .footer-sep {
    margin: 0 0.625rem;
    font-size: 0.625rem;
    color: #cccccc;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* 页脚底部信息 */
  .footer-bottom.footer-info {
    color: #cccccc;
    font-size: 0.875rem;
    font-weight: 300;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    contain: layout style;
  }

  .footer-bottom-address {
    line-height: 1.5rem;
    margin-bottom: 0.375rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .footer-bottom-info {
    line-height: 1.25rem;
    margin-bottom: 0.375rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* 页脚右侧区域 */
  .footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    min-width: 11.25rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
  }

  .qr-code {
    width: 6.9375rem;
    height: 6.9375rem;
    background: #fff;
    margin-top: 2.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    will-change: transform, box-shadow;
    transform: translateZ(0);
    backface-visibility: hidden;
    /* 防止 3D 变换时的闪烁 */
  }

  .qr-code:hover {
    transform: scale(1.05) translateZ(0);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
  }

  /* 留言栏 */
  .footer-message-bar {
    background: url('../images/icons/foot_bg.jpg') center center/cover no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4.125rem 1rem 3.9375rem;
    border-bottom: none;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
    contain: layout style paint;
  }

  .footer-message-inner {
    position: relative;
    z-index: 1;
    max-width: 87.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
  }

  .footer-message-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
  }

  .footer-message-title {
    font-family: "Microsoft YaHei Bold";
    font-weight: 700;
    font-size: 3rem;
    line-height: 4.125rem;
    color: #fff;
    margin-bottom: 0.625rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
  }

  .footer-message-desc {
    font-family: "Microsoft YaHei Light";
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 1.875rem;
    color: #ccc;
    margin-bottom: 1.75rem;
    max-width: 50rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
  }

  .footer-message-btn {
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 0.25rem 1rem rgba(14, 120, 255, 0.12);
    width: 10.0625rem;
    height: 2.6875rem;
    line-height: 2.6875rem;
    background: #0e78ff;
    font-family: "Microsoft YaHei";
    font-weight: 400;
    font-size: 1.125rem;
    letter-spacing: 0.003125rem;
    color: #fff;
    text-align: center;
  }

  .footer-message-btn:hover {
    background: #0052cc;
  }


  /* 响应式样式 */
  @media screen and (max-width: 1440px) {
    .footer-content {
      padding: 5rem 1rem;
    }

    .footer-message-title {
      font-size: 2.75rem;
      line-height: 3.5rem;
    }

    .footer-message-desc {
      font-size: 1.375rem;
      line-height: 1.75rem;
    }
  }

  @media screen and (max-width: 1024px) {
    .footer-content {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 4rem 1rem;
    }

    .footer-left {
      align-items: center;
      margin-bottom: 2rem;
    }

    .footer-right {
      align-items: center;
    }

    .footer-nav-horizontal {
      justify-content: center;
    }

    .footer-message-title {
      font-size: 2.5rem;
      line-height: 3.25rem;
    }

    .footer-message-desc {
      font-size: 1.25rem;
      line-height: 1.75rem;
    }
  }

  @media screen and (max-width: 768px) {
    .footer-content {
      padding: 3rem 1rem;
    }

    .footer-logo {
      width: 9rem;
    }

    .footer-slogan {
      font-size: 0.875rem;
    }

    .footer-nav-horizontal {
      gap: 0.75rem;
      display: none;
    }

    .footer-right {
      display: none;
    }

    .footer-nav-horizontal a {
      font-size: 1rem;
    }

    .footer-message-title {
      font-size: 2rem;
      line-height: 2.75rem;
    }

    .footer-message-desc {
      font-size: 1.125rem;
      line-height: 1.5rem;
    }
  }


  /* 留言弹框样式 */
  .message-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
  }

  .message-dialog.show {
    display: flex;
  }

  .message-dialog-content {
    background: #fff;
    border-radius: 0.5rem;
    width: 90%;
    max-width: 31.25rem;
    padding: 1.5rem;
    position: relative;
    animation: dialogFadeIn 0.3s ease-out;
  }

  @keyframes dialogFadeIn {
    from {
      opacity: 0;
      transform: translateY(-1.25rem);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .message-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }

  .message-dialog-header h3 {
    font-size: 1.5rem;
    color: #232733;
    margin: 0;
  }

  .message-dialog-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
  }

  .message-dialog-close:hover {
    color: #232733;
  }

  .message-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .form-group {
    display: flex;
    flex-direction: column;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.75rem;
    border: 0.0625rem solid #ddd;
    border-radius: 0.25rem;
    font-size: 1rem;
    transition: border-color 0.3s;
  }

  .form-group input:focus,
  .form-group textarea:focus {
    border-color: #0e78ff;
    outline: none;
  }

  .form-group textarea {
    height: 8rem;
    resize: vertical;
  }

  .submit-btn {
    background: #0e78ff;
    color: #fff;
    border: none;
    padding: 0.875rem;
    border-radius: 0.25rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .submit-btn:hover {
    background: #0052cc;
  }

  @media screen and (max-width: 480px) {
    .message-dialog-content {
      width: 95%;
      padding: 1rem;
    }

    .message-dialog-header h3 {
      font-size: 1.25rem;
    }

    .form-group input,
    .form-group textarea {
      padding: 0.625rem;
    }
  }
</style>